﻿using System;

namespace Coding4Fun.Cannon.TechEdPhone.Complete.Accelerometer
{
	public class AccelerometerDataAsyncEventArgs : EventArgs
	{
		public AccelerometerData Data { get; set; }
	}

    public class ConcreteAccelerometer : IDisposable
    {
		public ConcreteAccelerometer()
		{
			
		}
		
		public event EventHandler<AccelerometerDataAsyncEventArgs> ReadingChanged;

		public void OnReadingChanged(AccelerometerDataAsyncEventArgs e)
		{
			if (ReadingChanged != null)
				ReadingChanged(this, e);
		}

		public bool HasStarted()
		{
			throw new NotImplementedException();
		}

		public void Start()
		{
		}

		public void Start(int readingInterval)
		{
		}


		public void Stop()
		{
		}

		private void ResetCounters()
		{
		}

    	public void Dispose()
    	{
    		
    	}
    }
}
